package com.xiaoma.thread.pool;

import java.util.concurrent.ThreadPoolExecutor;

public class PoolCreatorTest {

  public static void main(String[] args) {
    ThreadPoolExecutor executor = PoolCreator.getExecutor();
    for (int i = 0; i < 10; i++) {
      executor.execute(new Runnable() {
        @Override
        public void run() {
          System.out.println("sdfsd");
        }
      });
    }
  }
}
